<#assign tit><#if _oper='add'>新增<#else>修改</#if>黑名单</#assign>
<@page.html title=tit>
<div style="width:450px;">

  <form id="fm_input" method="post" action="<#if _oper='add'>_add<#else>_edit</#if>" onsubmit="return post(this);">
    <input type="hidden" name="autoId" value="${black.autoId!}">
    <div class="kbox">
      <table class="input">
        <tr>
          <th width="25%">证件类型</th>
          <td width="75%"><#if _oper='add'><select name="idType" req="证件类型"><#if idType??><#list idType as t><option value="${t.id}">${t.name}</option></#list></#if></select><#else><input type="hidden" name="idType" value="${black.idType!}"><@value type="idType" key="${black.idType!}"/></#if></td>
        </tr>
        <tr>
          <th>证件号</th>
          <td><#if _oper='add'><input type="text" name="idNumber" value="${black.idNumber!}" req="证件号" size="26" maxlength="20"><#else><input type="hidden" name="idNumber" value="${black.idNumber!}">${black.idNumber!}</#if></td>
        </tr>
        <tr>
          <th>姓名</th>
          <td><input type="text" name="chName" value="${black.chName!}" size="26" maxlength="50"></td>
        </tr>
        <tr>
          <th>手机</th>
          <td><input type="text" name="mobile" value="${black.mobile!}" size="26" maxlength="20"></td>
        </tr>
        <tr>
          <th>备注</th>
          <td><textarea name="note" cols="30" rows="3">${black.note!}</textarea></td>
        </tr>
        <!--tr>
          <th>状态</th>
          <td><input type="radio" name="status" id="enable_1" value="1"<#if black.status=1> checked</#if>><label for="enable_1">有效</label>
            <input type="radio" name="status" id="enable_2" value="2"<#if black.status!=1> checked</#if>><label for="enable_2">失效</label></td>
        </tr-->
      </table>
    </div>
    <div class="button"><input type="submit" value="提 交"></div>
  </form>
</div>
</@page.html>